package com.yuan.servlet;

import com.yuan.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller(value = "studentServlet")
public class StudentServlet {

    @Autowired
    private StudentService studentService ;


    public void addStudent(){
        studentService.addStudent();
    }

}
